package com.yunda.nebula.gateway.service;

import com.yunda.nebula.gateway.core.ListenerDto;
import com.yunda.nebula.gateway.core.entity.ConfigData;
import com.yunda.nebula.gateway.core.entity.FetchAppInfo;
import com.yunda.nebula.gateway.core.entity.TbGatewayApp;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * app 服务类
 * </p>
 *
 * @author zhiguo.dong
 * @since 2020-09-17
 */
public interface ITbGatewayAppService extends IService<TbGatewayApp> {
    /**
     * 获取appid信息
     * @return
     */
    List<String> listApps();

    ConfigData fetch(String appId);


    FetchAppInfo listener(ListenerDto listenerDto);
}
